import React from 'react';
import SpaceWrapper from './SpaceWrapper';

/**
 * 属性
 * @param param0
 * @returns
 */
export default function AttrRender(_ref) {
  var data = _ref.data,
    _ref$depth = _ref.depth,
    depth = _ref$depth === void 0 ? 0 : _ref$depth,
    spaceable = _ref.spaceable;
  return /*#__PURE__*/ React.createElement(
    SpaceWrapper,
    {
      depth: depth,
      spaceable: spaceable,
    },
    /*#__PURE__*/ React.createElement(
      'span',
      {
        className: 'szzj-json-view-attr',
      },
      '"',
      data,
      '"',
    ),
  );
}
